﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HP.Cachalote.DataModels
{
    public class TodoItem : DataModelBase
    {
        public virtual string Title { get; set; }
        public virtual string Note { get; set; }
        public virtual bool IsDone { get; set; }
        public virtual int Priority { get; set; }
        public virtual DateTime? DueDate { get; set; }
        public virtual DateTime? StartTime { get; set; }
        public virtual DateTime? EndTime { get; set; }
        public virtual bool NeedReminder { get; set; }
        public virtual bool IsDismissed { get; set; }
        public virtual DateTime? ReminderTime { get; set; }
        public virtual DateTime CreateOn { get; set; }
        public virtual DateTime UpdateOn { get; set; }
        public virtual TodoLabel Label { get; set; }

        //Added
        public virtual int? LabelID { get; set; }
        //public int ID { get; set; }
    }

    public enum TodoItemPriority
    {
        VeryHigh = 1,
        High = 2,
        Medium = 3,
        Low = 4
    }
}
